package com.lineng.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lineng.pojo.DownSource;
import com.lineng.pojo.DownSourceExample;

public interface DownSourceMapper {
	long countByExample(DownSourceExample example);

	int deleteByExample(DownSourceExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(DownSource record);

	int insertSelective(DownSource record);

	List<DownSource> selectByExample(DownSourceExample example);

	DownSource selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") DownSource record, @Param("example") DownSourceExample example);

	int updateByExample(@Param("record") DownSource record, @Param("example") DownSourceExample example);

	int updateByPrimaryKeySelective(DownSource record);

	int updateByPrimaryKey(DownSource record);

	int updateDownSourceReader(int reader);

	// int deleteById(@Param("IDs")Integer[] id);

	int deleteById(@Param("IDs") Integer[] idList);
}